<?
switch($docType) {
   case 'anag':
      $tab = 'ovf_anag_docu';
      $idName = 'id_anag';
      $menuCode = 'paym';
      $t1 = 'Order management';
      $t2 = 'Order documents';
      $headFunct = '';
      $docGrant = 'PAYM/ODOC';
      break;
   default;
      backOnErr('docManager - wrong type '.reqVar('tytpe'));
      break;
}
